package com.ioudi.digu.security.userdetails;

import org.springframework.security.GrantedAuthority;
import org.springframework.security.userdetails.User;

public class UserDetails extends User
{

	private static final long serialVersionUID = 1L;
	
	
	private com.ioudi.digu.vo.User realUser;

	public UserDetails(String username, String password, boolean enabled,
			boolean accountNonExpired, boolean credentialsNonExpired,
			boolean accountNonLocked, GrantedAuthority[] authorities)
			throws IllegalArgumentException
	{
		super(username, password, enabled, accountNonExpired,
				credentialsNonExpired, accountNonLocked, authorities);
	}
	
	public com.ioudi.digu.vo.User getRealUser()
	{
		return realUser;
	}
	
	public void setRealUser(com.ioudi.digu.vo.User realUser)
	{
		this.realUser = realUser;
	}

}
